#ifndef DWGIMPORTERDIALOG_H
#define DWGIMPORTERDIALOG_H

#include <QWidget>
#include <QColorDialog>
#include "ui_DWGImporterDialog.h"        

class DWGImporterDialog : public QWidget
{
	Q_OBJECT

public:
	DWGImporterDialog(QWidget *parent = 0);
	virtual ~DWGImporterDialog();

	enum state{
		UNCOMMITED,
		COMMITED,
		CANCEL
	};

	static int isCommited;
//	QColorDialog *colorDialog;

public Q_SLOTS:
	void commitClicked(bool);
	void cancelPushed(bool);
	void showColorDialog();

private:
	Ui::importerDialog ui;
	QColor color;
};

#endif //DWGIMPORTERDIALOG_H